
/* 头部导航条 */
.layui-nav.icy8 {
    background-color: #3c8dbc;
    display: inline-block;
    padding-left: 0;
    border-radius: 0;
}

.layui-nav.icy8 .layui-nav-item {
    line-height: 50px;
    border-radius: 0;
}

.layui-nav.icy8 .layui-nav-child {
    top: 50px;
}

.header-nav {
    display: inline-block;
    width: 100%;
    background-color: #3c8dbc;
    font-size: 0;
}
.header-nav .site-msg .layui-badge-dot {
    margin-left: 0;
}

.header-nav .logo {
    line-height: 50px;
    display: inline-block;
    float: left;
    min-width: 220px;
    color: white;
    background-color: #367fa9;
    cursor: pointer;
}
.header-nav .logo a {
    color: inherit;
}
.header-nav .shrink {
    line-height: 50px;
    font-size: 14px!important;
    float: left;
    color: #ffffff;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.2) 0 0 no-repeat;
}
.header-nav .shrink .fa{
    line-height: inherit;
}
/* 左侧导航树 */
.left-nav .layui-nav  {
    position: absolute;
    top: 50px;
    bottom: 0px;
    left: 0;
    z-index: 2;
    background-color: #222d32;
    width: 220px;
    max-width: 220px;
    overflow: auto;
    overflow-x: hidden;
    border-right: 1px solid #e5e5e5;
    font-size: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}
.left-nav .layui-nav .layui-nav-item {
    border-top: solid 1px #2c3b41;
}
.left-nav .layui-nav .layui-nav-item * {
    font-size: 12px!important;
    cursor: pointer;
}
.left-nav .layui-nav .layui-nav-item .layui-nav-child {
    background-color: rgba(44,59,65,.6)!important;
}
.left-nav .layui-nav .layui-nav-item > a {
    color: #b8c7ce;
}
.left-nav .layui-nav .layui-nav-item > a:hover {
    color: white;
}
.left-nav .layui-nav .layui-nav-child .layui-nav-child a {
    padding-left: 60px;
}
.layui-nav-tree .layui-nav-child a:hover {
    background-color: #1e282c;
    color: #fff;
}
.left-nav .layui-nav .layui-nav-item a {
    height: 40px;
    line-height: 40px;
    padding-left: 45px;
    padding-right: 30px;
}
/* 右侧容器 */
.icy8Iframe {
    /*margin-top: 5px;*/
    width: 100%;
}
.page-content {
    position: absolute;
    top: 50px;
    right: 0;
    /*bottom: 42px;*/
    bottom: 0;
    left: 221px;
    overflow: hidden;
    z-index: 1;
}
.page-content .tab-list {
    position: relative;
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0 80px 0 40px;
    background-color: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    box-sizing: border-box;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
}
.page-content .tab-list .layui-tab {
    margin: 0;
}
.page-content .tab-list .layui-tab-title {
    border: none;
}
.page-content .tab-list .layui-tab .layui-tab-content {
    margin: 0 -80px 0 -40px;
    padding: 0;
    position: relative;
}
.page-content .layui-tab-content .layui-tab-item {
    width: 100%;
    height: 100%;
}
.tab-list .layui-tab-title li {
    min-width: 0;
    line-height: 40px;
    max-width: 160px;
    text-overflow: ellipsis;
    padding-right: 40px;
    overflow: hidden;
    border-right: 1px solid #f6f6f6;
    vertical-align: top;
    color: #666;
}
.tab-list .layui-tab-title li *{
    font-size: 14px;
}
.tab-list .layui-tab-title li:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    border-radius: 0;
    background-color: #292B34;
    transition: all .3s;
    -webkit-transition: all .3s;
}
.tab-list .layui-tab-title li:hover,
.tab-list .layui-tab-title li.layui-this {
    color: #000;
}
.tab-list .layui-tab-title li:hover:after,
.tab-list .layui-tab-title li.layui-this:after {
    top: unset;
    bottom: 0px;
    background-color: #292B34;
    border: none;
    height: 2px;
    width: 100%;
}
.tab-list .layui-tab-title li:first-child {
    padding-right: 15px;
}
.tab-list .layui-tab-title li:first-child .layui-tab-close {
    display: none;
}
.tab-list .layui-tab-title li .layui-tab-close {
    position: absolute;
    right: 8px;
    top: 50%;
    margin: -7px 0 0;
    width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 50%;
    font-size: 12px;
}
.tab-list .icy8-tabs-control {
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    text-align: center;
    cursor: pointer;
    transition: all .3s;
    -webkit-transition: all .3s;
    box-sizing: border-box;
    border-left: 1px solid #f6f6f6;
    color: #666;
    background-color: #ffffff;
    z-index: 10;
}
.tab-list .icy8-tabs-control:hover {
    background-color: #f6f6f6;
}
.tab-list .layui-icon-prev{
    left: 0;
    border-left: none;
    border-right: 1px solid #f6f6f6;
}
.tab-list .layui-icon-next {
    right: 40px;
}
.tab-list .layui-icon-down {
    right: 0;
}
.icy8-tabs-select.layui-nav {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: 0 0;
}
.icy8-tabs-select.layui-nav .layui-nav-item {
    line-height: 40px;
}
.tab-list .layui-tab-title li:first-child .layui-tab-close, .icy8-tabs-select.layui-nav .layui-nav-bar, .icy8-tabs-select.layui-nav .layui-nav-more {
    display: none;
}
.icy8-tabs-select.layui-nav .layui-nav-child {
    top: 40px;
    left: auto;
    right: 0;
}
.icy8-tabs-select.layui-nav .layui-nav-item>a {
    height: 40px;
}
.layui-nav-tree .layui-nav-bar {
    display: none;
}

@media screen and (max-width: 768px) {
    .left-nav .layui-nav  {
        left: -221px;
    }
    .header-nav .top-menu {
        display: none;
    }

    .header-nav .logo {
        /*min-width: 40%;*/
        /*max-width: 40%;*/
    }
    .page-content {
        left: 0;
    }
}
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
.icy8Iframe::-webkit-scrollbar,
.left-nav .layui-nav::-webkit-scrollbar
{
    width: 10px;
    height: 10px;
    background-color: #F5F5F5;
}

/*定义滚动条轨道 内阴影+圆角*/
.icy8Iframe::-webkit-scrollbar-track,
.left-nav .layui-nav::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 5px;
    background-color: #F5F5F5;
    cursor: pointer;
}

/*定义滑块 内阴影+圆角*/
.icy8Iframe::-webkit-scrollbar-thumb,
.left-nav .layui-nav::-webkit-scrollbar-thumb
{
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}